﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using GMusicBox.Core;

namespace GMusicBox
{
    public partial class frmHowToDownload : Form
    {
        public frmHowToDownload(string id, string saveto, string filename)
        {
            InitializeComponent();
            textBox1.Text = id;
            textBox2.Text = saveto;
            textBox3.Text = filename;
            this.TopMost = Core.Setting.StandardSetting.TopMost;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            FolderBrowserDialog f = new FolderBrowserDialog();
            f.Description = "请选择保存位置：";
            if (f.ShowDialog() == DialogResult.OK) textBox2.Text = f.SelectedPath;
            f.Dispose();
        }
    }
}
